package com.hjxr.xmgl.web.service.impl;

import com.hjxr.xmgl.web.mapper.SqlStatementMapper;
import com.hjxr.xmgl.web.service.SqlStatementService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;

@Service
public class SqlStatementServiceImpl implements SqlStatementService {

    @Autowired
    SqlStatementMapper statementMapper;

    @Override
    public List<HashMap<String, Object>> sqlExecute(String sqlStr) {
        return statementMapper.sqlExecuteMysql(sqlStr);
    }
}
